package demo;

import com.jfinal.core.Controller;

/**
 * 处理器
 */
public class HelloController extends Controller {
//    //public HelloController(){
//        System.out.println("HelloController");
//    }
    public void index(){
        String para = getPara();
        System.out.println(para);

        //System.out.println("hello world");
        renderText("Hello JFinal world!--"+para);
    }
    public void hello(){
        String para0 = getPara(0);
        String para1 = getPara(1);
        String para2 = getPara(2);
        System.out.println(para0+":"+para1 + ":"+para2);

        //System.out.println("hello world");
        renderText("Hello JFinal world!");
    }


}
